namespace Nintest.Collections
{
    using System.Linq;

    public interface ILookup<TKey, TElement, TGrouping> : ILookup<TKey, TElement>
        where TGrouping : class, IGrouping<TKey, TElement>
    {
        bool TryGetGrouping(TKey key, out TGrouping grouping);
    }
}